WASAPI: ensure com initialization on wasapi device enumeration thread


On some systems (Asus Sonic Studio / Avast), some 3rdparty code seems to
crash when probing formats on a thread that does not have COM
initialized.
So we ensure to have it COM initialized on the threadpool thread.

Fixes: QTBUG-150974
Pick-to: 6.12
Change-Id: Ibf130148580fa75531304be7e6329d3023945b08
Reviewed-by: Vladimir Belyavsky <belyavskyv@gmail.com>
commitdb45b625dc7563bf796ef8a1e3a053f89918979c
parent85b8b907528fde751ba83af0026dff5aa4a096b7
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 29 Sep 2026 06:51:04 +0000