flashrom.c: fix off-by-one length
flashrom.c: verify after write operations
flashrom.c: add logging for all operations