Only set GPIO pins for wakeup if GPIO_WAKE is set.

Otherwise, any values in config->gpio_pin would still have been used
as wakeup sources.