Absorptive contents of pionic-atom optical potentials and the anomaly problem