New i_zval_ptr_dtor_unlock to avoid duplicated logic