Fix ISFINITE macro with HP-UX 11.23 build (#664)

git-svn-id: http://svn.osgeo.org/geos/branches/3.4@3958 5242fede-7e19-0410-aef8-94bd7d2200fb