Effects of general relativity on glitch amplitudes and pulsar mass upper bounds