Space-charge effects during half-integer resonance crossing in the CERN Proton Synchrotron Booster