Add workaround for kernel crash in transmit mode
Add workaround for kernel crash in transmit mode

Older kernel versions crash when the transmit channel is enabled. Transmitting
still works fine when the channel is not enabled. So we just skip over enabling
the channel if we detect such a kernel version.

Signed-off-by: Lars-Peter Clausen <3318dc5ce3e4fb7c28a0b841b6801c884e1d0896@metafoo.de>

analogdevicesinc/libiio,sensarliar/libiio,analogdevicesinc/libiio,gburca/libiio,gburca/libiio,Sunderfield/libiio,sensarliar/libiio,Sunderfield/libiio,gburca/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,Sunderfield/libiio,sensarliar/libiio