main: Fix stupid typo in tsfile ATSC option flag
main: add some (commented out) debug for gtimer and fixed minor issue in gtimercmp

The issue should be benign, equal timers were always reported -1, not right.
mpegts: update to the way init scan table completion is handled

Should be a bit better at handling tables that may or may not exist.
We have an initial timeout after which we check if data for any tables
has been received but incomplete.

This is still far from ideal, really what is needed is to make this
all more async based on when we sync etc... but this will do for now.