util: Make it easier to add new arch in crash_analyzer
util: Make it easier to add new arch in crash_analyzer

This CL changes crash_analyzer so that it is easier to add new supported
architectures.

Additionally it adds the following debugging features:
- an optional parameter that allows to print the print of the crash report
- print the "crash cause" in human-readable format

BUG=None
TEST=./crash_analyzer lite -n -m file.map -f /tmp/dumps
BRANCH=None

Change-Id: I45a9650b400d4be1d4a14459d107fa8729ef62d6
Signed-off-by: 8b34ddfcea8f3287dba206edf399437d78820ea1@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3967699
Reviewed-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec