Implement stub for pthread_cond_timedwait().

This was in the headers, but had no implementation resulting in
an undefined at runtime.