Use pthread_cond_timedwait_monotonic on Android.