This lives into `crash_helper_common` because we need to access it both from the server and the client crates. Once we lande out-of-process crash generation we can move this code directly into the crash helper and remove all the other callers. Differential Revision: https://phabricator.services.mozilla.com/D305858