Fix crash on x86 in git_for_each_reflog_ent due to signature change of callback function