avformat/mov: Propagate errors in mov_switch_root.