PHP 5.4 compatibility

PHP 5.4 deprecated some parts of its internal API like `function_entry`
and initializing new zend objects with `object_properties_init` instead of the old `zend_hash_copy`.

This pull request addresses these issues and allows compiling php5-gdal with PHP 5.4.