wined3d: Use the texture dimension helpers in wined3d_volume_upload_data().