gpio: sysfs: clean up interrupt-interface implementation