[flashrom-gerrit] [M] Change in flashrom[master]: flashrom.c: Factor out setup_curcontents() from flashrom_image_write()