Fix thread_mattr_accessor
thread-local variable naming
#24143
Merged
thread_mattr_accessor
thread-local variable naming
#24143