fix #14764

convert qDebug();abort() to qFatal() and if(cond) abort() to
Q_ASSERT(!cond), esp. for the benefit of Windows, where it is impossible
to set a breakpoint in the abort() and not feasible to place a breakpoint before every abort()
Also modernizing mscoreMessageHandler() and making it more informative
by adding file, line and function to the output.