Implement cv_wait_interruptible, and cv_timedwait_interruptible, so that
we can catch signals as expected. Fixes 'zed' slow shutdown (waiting for
process to die)

Clean up warning in TSD.