[GEOT-4602] Fix SQLServer support for Z coordinates (in native serialization mode)