Support printing stacktraces from hangs

For dump files captured as a result of a hang, there is no
crash thread since the app didn't crash.

If there is no crash thread, or if the '-a' argument is passed to the
extract-stacktrace.py script, display stack traces from all threads.