Mark git_oid parameters const when they shouldn't be modified