When -H is specified, for kernel threads the command is formatted as
"<proc name>/<td name>" and truncated to MAXCOMLEN. But each of the
proc name and td name may be up to MAXCOMLEN bytes in length.
Also handle the ki_moretdname hack to ensure that the full thread name
gets printed. This is already handled correctly when formatting for
"-o tdname".