Spacetime curvature and Higgs stability after inflation