avformat/mov: Break out early if chunk_count is 0 in mov_build_index()