std.time: Use clock_nanosleep() to implement sleep() on Linux.
This fixes the function for riscv32 where the old nanosleep() is not available.
clock_nanosleep() has been available since Linux 2.6 and glibc 2.1 anyway.
f35015575eAlex Rønne Petersen committed on 9/6/2024, 6:03:12 PMparent8043197