iio: core: Fix an error pointer vs NULL bug in devm_iio_device_alloc()