[flashrom-gerrit] [M] Change in flashrom[master]: tests: Mock the mode_t variant of open