HDFS-5642: implement thread_local_storage.c for POSIX, stub it for Windows.