Use GIT_OID_HEXSZ for length of hex sha1 in git2r_reference_init