gdkpixbuf: add GetDominantColorOfImage()
gdkpixbuf: fix ConvertImageToXpixmap()
gdkpixbuf: fix ConvertImageToXpixmap()
gdkpixbuf: refacetor code