simplified the kt_for() API

 * the local array can fit into the global data
 * sometimes caller needs to know thread id to maintain buffer
wait-free heap-free implementation of kt_for()

and also much simpler