soc/runtime: cleanup/simplify exception_longjmp