drivers/periph/gpio: fix #ifdef instead of #if