mtd: fix 2 compiler warnings