gpio: added open source/drain enables.

gpio_set_open_drain:
	Configure a pin as open drain.

gpio_set_open_source:
	Configure a pin as open source.

Signed-off-by: Michel Megens <dev@michelmegens.net>