tests/pack: fixup 6774b10

Initialize the hash ctx with git_hash_ctx_init, not git_hash_init.