Updated the type of lock used in KTConcurrentQueue.