Merge pull request #3322 from libgit2/fix-init-ordering Increment `git__n_inits` before doing `init_once`.