Make G__FastAllocString cache thread safe

When using C++11, the cache used by G__FastAllocString utilizes
a non-locking thread safe circular buffer.
Merge pull request #35 from Dr15Jones/threadSafeFastAllocStringCache

Make G__FastAllocString cache thread safe