log-tree: switch GIT_SHA1_HEXSZ to the_hash_algo->hexsz