Fix loss of precision when parsing coords (faster, smaller, simpler too)

Fixes http://trac.osgeo.org/postgis/ticket/2546