stmhal: Make UART handle 9-bit characters correctly.