add RGBA8888 pixel format check in various SDL APIs