[PATCH 4.17 52/56] mtd: cfi_cmdset_0002: Change erase functions to retry for error