mtd: nand: ecc-bch: Move BCH code to the generic NAND layer