in clock_getres, check for null pointer before storing result
[musl] / src / thread / tls.c