Parsing geometry collection with type after geometries array. fixes GEOT-4878.