PyPy compatibility fix in geos and gdal.