[flashrom-gerrit] Change in flashrom[master]: avoid unnecessary syscalls in scanft()