Pressure dependence of the de Haas-van Alphen effect in potassium