[flashrom] Breaking the assumption that filesize == romsize