Sensitivity of grounding-line dynamics to viscoelastic deformation of the solid-earth in an idealized scenario