[tvheadend] Update to latest snapshot + Fix build with GCC 12 + FFmpeg 4.0