[libc]fix gettimeofday warnning