gpio: stm32: add ops get_dir_flags