[msan] Clean stack and TLS shadow on thread exit.