core: fix a default value bug when requesting a GPIO line
core: fix a default value bug when requesting a GPIO line

The direction is stored in the 'direction' argument, not in flags.

Signed-off-by: Bartosz Golaszewski <108de5fbc428215dc26df4468b48691526611148@gmail.com>

brgl/libgpiod,brgl/libgpiod,brgl/libgpiod,brgl/libgpiod,clemensg/libgpiod,clemensg/libgpiod