Fix port transparency

Now that SDL is aware of palettes, LegacySurface::copyFrom() and
copyTo() require palettes to be set correctly even on temporary
surfaces.