avformat/movenc: use av_freep() instead of av_free() except for local variables befor...