[PATCH OLK-4.19] iio: trigger: sysfs: fix use-after-free on remove