fix, be somewhat relaxed about subq items, there's a state of 2 pops without enqueuing

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Revert "fix, be somewhat relaxed about subq items, there's a state of 2 pops without enqueuing"

This doesn't work when the queue has to be rebuilt.

This reverts commit f128ddcfaecfdeb4c7cbddc9dc349446788a3fa2.
fix, rewrite subq_add() so at no time there's 2 items popped off the queue ...

which is important in case of resizing between the pops, because
the address of the already popped items on the stack wouldn't
change.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'feat/double-sub' into next

* feat/double-sub:
  fix, rewrite subq_add() so at no time there's 2 items popped off the queue ...
  Revert "fix, be somewhat relaxed about subq items, there's a state of 2 pops without enqueuing"
  fix, be somewhat relaxed about subq items, there's a state of 2 pops without enqueuing
chore, introduce MAYBE_UNUSED and flag check_q()'s sq with it

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, introduce MAYBE_UNUSED and flag check_q()'s qq with it

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'bld/dist' into next

* bld/dist:
  chore, introduce MAYBE_UNUSED and flag check_q()'s qq with it
  chore, introduce MAYBE_UNUSED and flag check_q()'s sq with it
Merge branch 'next'

* next:
  chore, introduce MAYBE_UNUSED and flag check_q()'s qq with it
  chore, introduce MAYBE_UNUSED and flag check_q()'s sq with it
  fix, rewrite subq_add() so at no time there's 2 items popped off the queue ...
  Revert "fix, be somewhat relaxed about subq items, there's a state of 2 pops without enqueuing"
  fix, be somewhat relaxed about subq items, there's a state of 2 pops without enqueuing