[sr-dev] git:5.7:e73b07e9: tls: thread-local, revert 1a9b0b6361 as double-layer locking is redundant