[libc][time] remove _TIMESPEC_DEFINED in common/sys/time.h and complete time.c
Please define RT_USING_LIBC and compile RT-Thread with GCC compiler.
https://sourceware.org/newlib/libc.html#Reentrancy