[PATCH 3/5] d3d8: Introduce a wined3d_usage_from_d3d() helper.