Fix implicit function when libunwind is disabled

The '#endif' is position on a weird place which results in a compile
warning (-Wimplicit-function). Fix this and print a diagnostic message
on startup if a backtrace is requested but support is missing.

Note: only affects builds where you manually disable HAVE_LIBUNWIND.