USB library fixes according to ST's published known bugs list

Fixes https://github.com/opentx/opentx/issues/919

In the end it turns out that majority of bugs are not related to opentx code, so nothing mayor has changed. 

Tested boot bootloader (mass storage mode) and opentx (joystick mode), works ok.