gpio: Add missing open drain/source handling to gpiod_set_value_cansleep()