[PATCH] mtd: nand: check nand_mtd_to_devnum() argument