[PATCH 1/4] wined3d: Use extra bits in the queue head and tail counters.