Protect against divide by zero. Fixes Coverity 746808

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>

Fixes #12231
Explicit casts for eit fixup

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>

Fixes #12232
Coverity 1229296