Electrostatic control of the anomalous Hall effect in SrRuO3