[PATCH v2 2/4] wined3d: Adjust error codes for vertex declaration creation.