Remove dependency on swprintf_s() pulled in via _com_error::ErrorMessage().

Task-number: QTBUG-35617
Change-Id: I5078e3cb3841baa836934be60cce27b2e47d9a7e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>