gpio: sysfs: fix gpio-chip device-attribute leak