std.debug: handle static library paths correctly when reading SelfInfo

On macOS ofile entries will not be clean file paths when the entry points
at a static archive, like `libfoo.a(libfoo.a.o)` for example.

Previously the code for loading debug info would fail resulting in
missing frames in stack traces.

TODO: fix memory leak, add test case
0b9d6ad042Loris Cro committed on 5/3/2025, 4:42:00 PMparentbf9b15e
1 file changedLine totals unavailable