fix: pass the message to dbgTraceIfShared borrowed

The C implementation only reads the string and never consumed it, so the
owned message leaked on every call with a non-literal message.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
3 files changed