[PATCH v2 4/5] d3dx10/tests: Introduce check_image_info().