Józef Kucia : d3dx9: Fix the expected_length computation for non-square DDS files.