[PATCH 4/5] d3d9: Introduce a wined3d_usage_from_d3d() helper.