Unix implementation of clock_nanosleep.