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