[PATCH 6/8] d3dx10: Exclusively use shared code for parsing DDS files in get_image_info().