STM32F3 - Support hardware serial inversion.

Tested on the Sparky board with an FrSky X4RSB without external hardware
inverter.