util: Backport a Chase-Lev deque from upstream Rust