[RFC 1/6] wined3d: store sub_resource_idx in d3d8, d3d9 and ddraw surfaces and volumes