hash: remove git_hash_init from internal api

Along with that, fix indentation in tests-clar/object/raw/hash.c

/cc @ethomson