Added forgotten nanosleep() declaration

Replacement function already existed in libcompat.