[WPF] Fix loading of 8bit paletted images

WPF requires a palette to be set when loading paletted images. We need
to maintain the BitmapSource palette in ConvertBitmapTo96DPI().