[tvheadend] Fix build with GCC 10