specify that yarp::os::Mutex should work like std::mutex

The Mutex class was underspecified. It should work like std::mutex,
and its behavior is undefined in the same circumstances.

Thanks @ali-khalili. Closes #217.