wined3d: Avoid dereferencing null pointer in context_apply_clear_state when calling...