Scons: check for timespec_get on windows as well as unices
windows has a timespec_get function, and if we don't check that then it will try to fall back to using clock_gettime, which windows doesn't have.
Fixes: 68a785e6 ("Fall back on clock_gettime when timespec_get() is unavailable")