pack-objects: move in_pack_pos out of struct object_entry