Charge transfer quenching in the photoemission spectra of NiO