altos: Add ao_gpio_get and ao_exti_set_mode