ecsv backport - Add missing read mode check in flashram_command->execute