gpio / ACPI: Move event handling registration to gpiolib irqchip helpers