Fix warnings, error in SDL_gfxPrimitives.c