Eliminate "Qemu unsupported ioctl" warnings for cryptodev.

The host may have /dev/crypto (cryptodev) support but emulation of it
for qemu targets is not supported.  Therefore, return an error if
it used to eliminate the generic warning message.