modify the pixel format to RGB565 in sdl_fb.c

modify the sdl framebuffer color format and fix the sdl windows close exception