Pressure-induced modification of the anomalous Hall effect in layered Fe3GeTe2