backtrace: fix NULL pointer derefs on linux

* dli_sname is NULL when no matching symbol is found.

* Look for main() as the stack top, not start() - it's not there.
  Don't use __libc_start_main() because its 'next stack frame' pointer
  is NULL.