avformat/mov: Fix memleaks for duplicate STCO/CO64/STSC atoms