avformat/mpegenc: check for stream private data during deinit