geom: Check for errors differently. When geos calls fail, they call GDKerror through a callback mechanism.  Instead of checking return values, we now check whether GDKerror was called. This is because in geos-3.3.0, the function GEOSGeom_getDimensions now legitimately returns 0 which previously was only returned in the case of error.
geom: Check for errors differently.
When geos calls fail, they call GDKerror through a callback
mechanism.  Instead of checking return values, we now check whether
GDKerror was called.
This is because in geos-3.3.0, the function GEOSGeom_getDimensions now
legitimately returns 0 which previously was only returned in the case
of error.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb