sdl: lock YUV overlay before clearing