[PATCH 03/10] ddraw: Introduce a helper to convert ddraw transform states to wined3d states.