Electron density dependence of the spin Hall effect in GaAs probed by scanning Kerr rotation microscopy