Add further type-safety check to work_stealing_deque.

4 jobs from parallel_for in 3 minutes 46 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #2976
build_cmake

00:44

 
  Test
passed #2977
run_tests

00:44

 
  Sanitizer
passed #2979
run_address_sanitizer

01:22

passed #2978
run_thread_sanitizer

00:56