Kernel: minor cleanup, see details:

- The stdout/err thunks were removed
- App killer code was removed
- The SWI table was reorganized and shrunk
- Other misc changes
Kernel: fix usage of swiIntrWait (fixes user mode FIFO)