Effects of General Relativity on the Mass Ejection of Neutrino-Trapping Supernovae