Update libgit2

Fix calls to C.git_treebuilder_create and C.git_treebuilder_write.