Fix UART initial characters are garbage for G2 and F5529 #293