STM32: Fix Uart and Spi Baudrate generator.