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