gpio: add flags to export GPIOs when requesting