strbuf: allocate space with GIT_MAX_HEXSZ