Giant resonance effects in the angular distributions of inelastic proton scattering on 24Mg