Add critical section around xTaskCheckForTimeout() as the new queue code makes a call while the scheduler is not locked.
Add critical section around xTaskCheckForTimeout() as the new queue code makes a call while the scheduler is not locked.

FreeRTOS/FreeRTOS-Kernel,FreeRTOS/FreeRTOS-Kernel