[HACKFEST REGRESSION] Fix build if boost_stacktrace_backtrace unavailable
Some Linux distros, including Arch Linux, only provide the Boost component stacktrace_basic
rather than stacktrace_backtrace
.
Although we prefer the latter, the former should still be accepted as a fallback, just like on MacOS.
Fixes a regression from !5163 (merged)