Merge pull request #1498 from libgit2/vmg/atomic64 64 bit atomic operations and shared cache memory usage