[flashrom] [PATCH] Move serial handling from serprog.c to serial.c