[PATCH v2 2/6] d3dx9: Add support for saving PNG files in d3dx_save_pixels_to_memory().