vec: avoid some unsafe code in MoveIterator's dtor
auto merge of #10998 : thestinger/rust/iter, r=alexcrichton