[runtime] Fix Thread.CurrentThread in non-root appdomains by setting the tls slot...