[GEOT-4799] Harden ProjectionHandler backwards reprojection using validity areas (fixes gs 2.5.x build)