mtd: blkdevs: fix switch-bool compilation warning