ringbuf: Implement DoubleEndedIterator
auto merge of #7808 : blake2-ppc/rust/ringbuf, r=thestinger