[PATCH 2/3] wined3dx: Move get_image_info to library.