[runtime] Reduce timeouts in a test to speed it up.
[runtime] Fix mono_sem_timedwait.