Support latest libgit2 v0.21.0

Luckily this was easy to port to.  Gotta love automatic bindings :-)