wined3d: Handle slice pitch and alignment as well in wined3d_format_calculate_pitch().