Disable in release mode unused code

Disable in release mode unused code in LWGEOM_GEOS_makeValid