Fiasco(.OC) KDB terminal

The KDB terminal uses the Fiasco(.OC) kernel debugger console as backend
for input and output. This is useful in the case that only one UART is
available.

Fixes #665.
expect_stdin_test.diff