Change both stack and queue to same offset counters.

This allows the stack and deque class to use the same offset, making it work better with each other.
4 jobs from master in 4 minutes 7 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #3268
build_cmake

00:46

 
  Test
passed #3269
run_tests

00:47

 
  Sanitizer
passed #3271
run_address_sanitizer

01:34

passed #3270
run_thread_sanitizer

00:59