winex11: Move the pixel->color conversion out of the get_tile_pict function.