std.debug: lock stderr mutex when panicking

The doc comments for this global said:
"Locked to avoid interleaving panic messages from multiple threads."

Huh? There's already a mutex for that, it's the stderr mutex. Lock that
one instead.
55a9ea250cAndrew Kelley committed on 6/13/2024, 12:09:07 AMparent0cef727
1 file changedLine totals unavailable