Gravitational viscoelastodynamics for a hydrostatic planet