Revert "Replace SDL_MapRGB"

This reverts commit 07dc68c789d3821b32e65a5ad6eacda4d5dd412d.