Stm32: Gpio: assign number to ports

This will be used by the next commit to
fix our external interrupts.