Implement clean_up_backtrace_handler()
Split off legacy/trac#31594 (moved):
clean_up_backtrace_handler() doesn't do anything, but it should:
- disable backtrace signal handlers
- destroy the backtrace mutex (regression to legacy/trac#21788 (moved))
Split off legacy/trac#31594 (moved):
clean_up_backtrace_handler() doesn't do anything, but it should: