wined3d: Pass the primitive type to wined3d_cs_emit_draw().