concurrentqueue: Add tryDequeue method.