The API no longer requires libgit2 when built.

It wasn't used in the code, and this means that Windows XP support can
be retained in the API while also allowing it to be dropped in the
application when libgit2 is updated.