Enable libgit2 thread safety for iOS

No idea why this was ever disabled.

Resolves libgit2/libgit2#2384.

/cc @carlosmn @SquaredTiki