Fixes for recent nightly changes.

Replace `rustrt::exclusive::Exclusive` with `std::sync::Mutex`.

Replace `Thread::start` with `Thread::spawn`.

Replace `Thread<()>` with `JoinGuard<()>`.