[PATCH 2/2] wined3d: Avoid referencing empty command buffers in wined3d_query_event_vk_issue().