lockfree: stack - avoid temporary copy when consuming via functor
Signed-off-by: Tim Blechmann <tim@…>