Fix Mutex to allow lock from different Ruby (green) thread in process

Following on my last patch, these commits fix the Mutex class (and a minor follow-on to Monitor) to
allow locking from different Ruby (green) threads within the same process.