[PATCH 4.19 037/105] iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails