configure: Fix sem_timedwait probe