Updated to work with libgit2 v0.20.0

Fixes a number of constant names and reflects the moved definition of git_odb_backend.