libdvbsub: fix segv with current ffmpeg version