Fix git-pack-objects for 64-bit platforms