lv-tool (stdout_sdl): Use vectors instead of raw C array pointers and fix off-by-1 error in vertical flipping routine