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

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