dm ioctl: fix hang in early create error condition