Remove racing from Mutex#locked? spec.

As with the Mutex#sleep spec, it's possible for the thread to
appear to be sleeping in the first lock call causing the spec to
proceed assuming the lock has completed. Modified to use a boolean
variable to indicate that the locking has actually completed.