index-pack: use fixup_pack_header_footer()'s validation mode