Fix build of PHP bindings with PHP < 5.3.99 (#709)

Tested with php 5.3.2
Thanks KayMadejski for the report

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