Fix `zend_mm_heap corrupted` errors in Mongo in PHP 5.3.x

Finally this seems to work :-)