Suppress error dialogs on assertion failures in MinGW.