avformat/mpegtsenc: Free services array completely on failure