Triggers: Fix bug: check the return value of the iio_device_get_trigger()