Fix POSIX EVENT_TIMEDWAIT to prevent Thread sleep interruption by signal

* include/jcgothrd.h (JCGO_EVENT_TIMEDWAIT): Check
[pthread_]cond_timedwait result against ETIMEDOUT instead of EINTR to
fix Thread.sleep() interrupted by a signal.