dm mpath: fix ioctl deadlock when no paths