dvbpsi: add hack for broken PMT tables
htsp: move I/O calls outside global lock