[PATCH 4/5] wined3d: Explicitly calculate the sub-resource level in surface_load_texture().