[PATCH 4/5] wined3d: Acquire references to shaders in deferred contexts.