[flashrom] [PATCH] Cleanup flashrom.c, move functions, part 1