Support HasCallStack for calls to panic
As far as I can tell
panic only reports cost center callstacks currently.
It would be useful to include information provided by HasCallStack if available as well.
When using the GHC API (or hacking on GHC itself) this would be a convenient way to get more information about what lead to an error that triggers
panic in a different part of the compiler.