Disable unused variable warnings in libgit2