[lldb] Intern debugger-owned SB API strings in the debugger pool (#244348)
Intern strings returned by SB classes that belong to a debugger in that
debugger's pool (which currently is still the global pool).
GetDebuggerStringPool is a helper that takes a Target by reference, so
no getter can ask for a debugger's pool without a target. That was
intentional, to force the caller to think about that (and intern the
string in the global pool), making it easy to use the API correctly and
hard to do so incorrectly.
Assisted-by: Claude