kernel.c (putchar): Support newline escape sequence