add C11 timespec_get function, with associated time.h changes for C11