[PATCH 6.16 108/189] mm/damon/sysfs: fix use-after-free in state_show()