use apartment threading for CoInitializeEx

otherwise we are risking a lock by freeing resources from other
threads when calling CoUnitialized()

Change-Id: I1fe09d7d3b1674a00b44ababfc90da79580278b3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>