avformat/rtpdec_latm: Use av_freep() to avoid leaving stale pointers in memory