Bugfix: Make redirected stdio write init UART if needed

Calling a scanf before the first printf would end up calling serial_getc without initializing the UART.