RVO: do not zval_ptr_dtor(return_value_ptr) after exception
Merge pull request #1131 from sjinks/rvo-segfault

Fix segfault on exception when RVO is used