wined3d: Release the vertex declaration during stateblock cleanup.