pack-revindex.c: rearrange xcalloc arguments