[GEOT-4879] Avoid reading the whole world when the requested area spans the dateline in pacific mercator

Going to wait for the feature freeze end to commit this one, as the changes are not trivial