[PATCH 4/6] d3d9: Handle stateblocks in d3d9_device_SetVertexDeclaration().