Adds SetErrorMode() to GHOST_SystemWin32::init() so it will quiet OS-supplied error dialogs process-wide.
Appears to be best practice to do this once in startup, see this windows api doc.
Uses all four uMode flag values:
- SEM_FAILCRITICALERRORS - no critical-error-handler message box
- SEM_NOGPFAULTERRORBOX - no Windows Error Reporting dialog
- SEM_NOOPENFILEERRORBOX - no OpenFile dialog if OS cannot find a file
- SEM_NOALIGNMENTFAULTEXCEPT - FIX memory alignment faults
Since this sets this process-wide in startup, this patch removes the (transitory) usage of of SetErrorMode in BLI_exists() since leaving it would be redundant and possibly confusing later.