[PATCH 4.9 15/29] iio: trigger: sysfs: fix use-after-free on remove