fetch thread name from comm, if available

Since sg_get_process_stats eliminates surrounding brackets either when
comm (thread name of active thread of a process) is taken from stat
file, read it pure from comm.
Because of some firmware drivers create names containing spaces, this is
safer than parsing unknown number elements in front of stat content.