Suppression of nuclear polarization near the surface of optically pumped GaAs