mtd: mtdswap: fix compilation warning