swscale-test: fix stack overread.