[openEuler-5.10 543/557] mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines