Extend zend_call_function to handle method invocation.

Summary: Add a null pointer guard in the zend property getter,
as for example when the object doesn't have the given property.
Closes #3076

Reviewed By: @ptarjan

Differential Revision: D1413661

Pulled By: @LiraNuna