[GEOT-4843], more tweaks about GML encoding and avoid linearization just for the sake of knowing the dimension of the ordinates