[flashrom-gerrit] [S] Change in flashrom[master]: tests: Add workaround to allow tests mock fileno on FreeBSD