[PATCH 4.14 48/53] mtd: cfi_cmdset_0002: Change erase functions to retry for error