[MTD] [NAND] Replace -1 with -EBADMSG in nand error correction code