demux: playlist: prevent infinite loop when playlist item points to its own playlist
Although we can not prevent cyclic situation like this, at least we can prevent the infinite loop that occurs when a playlist has a direct child that points to its own playlist.