Measurement of two-wave mixing gain in GaAs with a moving grating