Fix last argument to pthread_cond_timedwait

pthread_cond_timedwait() last argument is const struct timespec *
We are mistakenly passing const struct timespec ** which leads to
a failure.