kernel: fix block2mtd build after removing the device refresh ioctl