stmhal: Stop USB before entering DFU by software.