Modulation correction for proton magnetic moment measurements in nuclear magnetons by means of a magnetic resonance mass spectrometer