Fixed bug in THREADS_DISALLOW when threads are disabled. Waited on the wrong signal. Rev: src/threads.h:1.44