gru: support cch_allocate for kernel threads