Total reaction cross sections for 20–30 MeV pions and the anomaly of pionic atoms