task: Add conversion of threads

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Thread cores have no TaskCoreEntry

Thus zap core.tc, otherwise criu complains
on optional fields present in thread core.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>