Expose a clean_backtrace method from Gitlab::Profiler
This exposes a Gitlab::Profiler.clean_backtrace
method to make cases like https://gitlab.com/gitlab-org/gitlab-ce/issues/47613#note_81749507 easier.
I added some EE references in the spec, but I think that's probably fine?