The Newtonian limit of geometrostatics