TQueue::Dequeue

Removes and returns the item from the tail of the queue. To be called only from consumer thread.