Peripheral: STM32: Gpio: make extendd connect available for inout types

Inout types do not have a type sepcified. It is therefore
necessary to convert the af.type to a string in order
for it to match the '' in the list