Enable libgit2 thread safety for iOS

No idea why this was ever disabled.

Resolves libgit2/libgit2#2384.

/cc @carlosmn @SquaredTiki
Merge pull request #371 from libgit2/jspahrsummers-patch-1

Enable libgit2 thread safety for iOS