oid: specify a default implementation libgit2's current default oid type is SHA1, set a public macro for that.