mtd: atmel_nand: move the sanity check to the beginning of pmecc_enable()