issue-585: fixed use of TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES

In order to apply that, we're now doing explicit EnvToInt64 call as
part of initializing thread cache module.