Test that ConcurrentQueue does not keep old references. Covers 18421.
Overwrites dequeued ref/value with default. Fixes 18421.
ConcurrentQueue was keeping the last dequeued ref/value.
Merge pull request #1068 from esdrubal/bug18421

Changed ConcurrentQueue to remove last ref/value. Fixes 18421