Make git_oid_cmp public and add git_oid__cmp