[PATCH] wined3d: Avoid redundantly resetting timestamp queries.