[flashrom] Migrate towards common JEDEC functions