Gource does not link with libSDL_image, only with libSDL2_image. This was missed in r450914. Add USES=gl while here.