pack-objects: prepare `write_reused_pack()` for multi-pack reuse