Build ck_queue with C++

This requires the use of the 'typeof' GNU extension which is not
part of the C99 or C++98 standards, but seems to have widespread
compiler adoption.
Build ck_cohort with C++
Build ck_rwcohort with C++