Fix warnings
Merge pull request #1878 from libgit2/ntk/fix/warnings

Fix x86/x64 size_t related warnings