mtd: mtdchar: fix information leak to userland