builtin/index-pack: convert struct ref_delta_entry to object_id