Replacing broken call to ZVAL_ADDREF with Z_ADDREF_P.