altosui: Make AltosSerial.flush_input keep reading while non-empty