[flashrom-gerrit] Change in flashrom[master]: ichspi: Extract handling programmer param into a function