Fixed panic for both arm and intel

The last attempt at this fix only worked for intel.
Moved where panic code was setup in the command line
so that it covered both arm and intel platforms.

BUG=chromium:222959
TEST=platform_CorruptRootfs/control (snow, link, stumpy) and ./security_test_image (parrot)

Change-Id: I578a037abf551265cc8c16fed6a16221b3b247bf
Reviewed-on: https://gerrit.chromium.org/gerrit/47131
Tested-by: Paul Taysom <taysom@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Paul Taysom <taysom@chromium.org>
(cherry picked from commit 984acd740d9032106df26f56f9c65e0298f67b91)
Reviewed-on: https://gerrit.chromium.org/gerrit/47492
1 file changed