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.

TEST=platform_CorruptRootfs/control (snow, link, stumpy) and ./security_test_image (parrot)

Change-Id: I578a037abf551265cc8c16fed6a16221b3b247bf
Tested-by: Paul Taysom <>
Reviewed-by: Mike Frysinger <>
Commit-Queue: Paul Taysom <>
(cherry picked from commit 984acd740d9032106df26f56f9c65e0298f67b91)
1 file changed