[stm32][usart] new inline API functions to get various status flags

- enables usage of same code on F1,2,3,4