STM32: fix GPIO settings in kdebug module.