[PATCH 5.10 074/103] mtd: spinand: Fix incorrect parameters for on-die ECC