[tvheadend] Fix build with FFmpeg 3.5