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