[PATCH 5.10 098/162] iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails