serial: serial_sh: bugfix: autoboot fails if serial console is not connected