stm32: Fix module deinit between main.py to USBDBG.
stm32: Fix module deinit between main.py to USBDBG.

kwagyeman/openmv,kwagyeman/openmv,iabdalkader/openmv,iabdalkader/openmv,iabdalkader/openmv,openmv/openmv,kwagyeman/openmv,openmv/openmv,iabdalkader/openmv,kwagyeman/openmv,openmv/openmv,openmv/openmv