Change to use updated Mutex API in latest Rust master.

The Mutex API has changed so that `StaticMutex::lock()` returns `MutexGuard<()>` instead of `StaticMutexGuard`. Also, `.lock()` must be unwrapped.