mtd: nand: expand nand_ecc_layout, deprecate ioctl ECCGETLAYOUT