avformat/mpegtsenc: support storing PAT/PMT per frame