[mythtv] Fix race condition when stopping demux

SyncBuffer.Pop(... , timeMs) is waiting for ever after flushing buffer.
Don't try to pop when demux is stopped.