wined3d: Get rid of the WINED3DMATERIAL typedef.