[PATCH v8 3/5] mtd: cfi_cmdset_0002: Change erase functions to retry for error