Added forgotten nanosleep() declaration

Replacement function already existed in libcompat.
Merge pull request #735 from jimis/win32

Added forgotten nanosleep() declaration