Henri Verbeet : wined3d: Add missing GL locking to state table calls.