fix aliasing-based undefined behavior in string functions
[musl] / src / thread / tls.c