[flashrom-gerrit] Change in flashrom[master]: spi25.c: Factor out rdid_get_ids() and compare_id()