Fixed bug 2628 - invalidate surface->map in SDL_SurfacePalette()
Wei Mingzhi
surface->map should be invalidated in SDL_SetSurfacePalette(), otherwise the palette would not be effective when blitting to another non-8bit surface which we previously blitted to.