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