Fix a crash in global_backtrace_report in case Thread#backtrace returns nil