Set cr to the ucred instead of context in zfsdev_ioctl()