x86/gpio: Implement x86 gpio_to_irq convert function