[GEOT-3101] Oracle SDO fixes to read measured geometries

Backported from master