stm32h7x: Fix reset with non-HLA interfaces on macOS