[PATCH 2/4] wined3d: Return E_INVALIDARG from vertexdeclaration_init() on validation failure.