Józef Kucia : wined3d: Introduce query operation to destroy queries.