OpenBSD has sem_timedwait().

Use the same code path as other POSIX systems since OpenBSD has sem_timedwait().