Direct measurement of the spin gaps in a gated GaAs two-dimensional electron gas