[flashrom] [PATCH 5/7] Combine serialport_write and serialport_read into serialport_rw.