Avoid comparing Microsoft::WRL::ComPtr instances with QCOMPARE
After the introduction of QDebug::toBytes, comparing instances of
Microsoft::WRL::ComPtr with QCOMPARE won't compile. As a workaround,
this patch replaces QCOMPARE with QVERIFY and ComPtr::operator==.
Comparing raw COM pointers directly can require pointers of the same
type, so we lean on the ComPtr::operator== for this.
Amends: b57fac818b7fe028dc61f1196cfda397233edffe
Pick-to: 6.8
Task-number: QTBUG-127510
Change-Id: I959feb7d6b2631e2ad75917121ce7ca6c575c6d6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>