rev_list_insert_ref_oid(): new function, taking an object_oid