fix errno behavior in clock_* functions
[musl] / src / thread / __set_thread_area.c