Use SDL_PixelFormat when building truecolor lookup table.