On the constant resonance width approximation for core electron ionization