[GEOT-4843] Add a path to convert linear geometries to curved ones (by wrapping in a Compound string/ring)