gpio: sysfs: fix gpio device-attribute leak