[PATCH 7/8] d3dx10: Add support for d3dx10+ image file formats in shared code.