[PATCH 5.18 138/181] iio: trigger: sysfs: fix use-after-free on remove