add RGBA8888 pixel format check in various SDL APIs
Merge pull request #2485 from sronsse/sdl

add RGBA8888 pixel format check in various SDL APIs