Improve diagnostics for Thread.MutexKey

Imported from https://youtrack.roxen.com/issue/PIKE-189

Reported by @grubba

Add an _sprintf() which displays which Thread.Mutex that the key belongs to.