add MoveItems to RingBuf, fixes #19085
auto merge of #19231 : Gankro/rust/ringbuf-into-iter, r=huonw

r? @huonw @csherratt