Implemented __sync_fetch_and_add for int64_t.
Made allocator statistics thread safe (sync'd adds).
Added Allocator::stats (collects all statistics at once).