[lib][trusty] Panic if apps exit with a non-0 exit code

We currently panic if an application triggers a fault that is not
handled. Error checks in user-space that call abort or exit with a
failure exit code, currently don't panic. Panic in those cases as well
to make the different error paths more consistent.

Bug: 147698516
Change-Id: I625642a238661d1e747122d5bc6a9bebd291f45e
1 file changed