[PATCH 4.14 18/35] iio: trigger: sysfs: fix use-after-free on remove