[PATCH v2 1/6] wined3d: Use thread-ID alerts instead of events, if available, to wait for CS packets.