posix: configure stdio only to uart0 if enabled