Shutdown the threading system.
If libgit2 has been built with GIT_THREADS on, this function must be called before shutting down the library.
If libgit2 has been built without GIT_THREADS support, this function is a no-op.