Fix TReentrantRWLock on macOS
Fix TReentrantRWLock on macOS

There is no support for thread_local on macOS, so variables with
thread local storage must use the ROOT macros for this purpose.

simonpf/root,olifre/root,root-mirror/root,olifre/root,olifre/root,olifre/root,zzxuanyuan/root,karies/root,simonpf/root,root-mirror/root,olifre/root,olifre/root,zzxuanyuan/root,karies/root,olifre/root,karies/root,karies/root,root-mirror/root,zzxuanyuan/root,simonpf/root,simonpf/root,olifre/root,zzxuanyuan/root,zzxuanyuan/root,karies/root,zzxuanyuan/root,simonpf/root,olifre/root,simonpf/root,root-mirror/root,root-mirror/root,root-mirror/root,olifre/root,karies/root,karies/root,simonpf/root,zzxuanyuan/root,karies/root,root-mirror/root,karies/root,zzxuanyuan/root,olifre/root,karies/root,root-mirror/root,zzxuanyuan/root,root-mirror/root,root-mirror/root,karies/root,simonpf/root,zzxuanyuan/root,zzxuanyuan/root,root-mirror/root,simonpf/root,simonpf/root,zzxuanyuan/root,simonpf/root