kernel: add a ubi forced detach ioctl