zephyr: Hide gpio_enable_interrupt if no dt nodes
zephyr: Hide gpio_enable_interrupt if no dt nodes

Move cros_ec_gpio_interrupts into the
block, as it depends on gpio_enable_dt_interrupt, which is there.

Tests that don't define any cros_ec,gpio_interrupts fail to build on
gitlab, but succeed in the chroot for an unknown reason. This
change should make the breakages happen earlier and be more obvious.

BRANCH=None
BUG=b:222934152
TEST=zmake configure --test test-ap_power

Signed-off-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@google.com>
Change-Id: I34a502be8314422113d31c0190679ff9caf03d0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3523202
Reviewed-by: Denis Brockus <6b21e8190fb5e373363fb95271367073a16474ef@chromium.org>
Commit-Queue: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Tested-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Reviewed-by: Andrew McRae <44ad1424cfc8411c96d9181798ca41ae55709dfb@google.com>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec