sysfs: fix parent refcounting during rename and move