[flashrom-gerrit] Change in flashrom[master]: tests: Convert write chip tests to libflashrom API