changed the geom validity macro to have the reason printed before the
geometry since the exception printed msg is limited in length and the
reason is more important to read IMHO than an incomplete geometry