#2332 windows 64 EDB crasher on invalid wkb using ST_GeomFromWKB - fix by using similar logic to good ST_GeomFromEWKB and skipping intermediary call to pg lwgeom function

git-svn-id: http://svn.osgeo.org/postgis/branches/2.0@11475 b70326c6-7e19-0410-871a-916f4a2858ee