[PATCH 5.4 048/153] iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails