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