surface: Make sure SDL_ConvertSurface() deals with palettes (thanks, Sylvain!).

Fixes Bugzilla #3826.
Fixes Bugzilla #2979.
2 files changed