Fix X/Y unit handling for GDT12 export.

Provides better rounding of floating-point coordinate values to the nearest centimetre and respects the units of the horizontal coordinates when converting to centimetres.