ssa_log.c: Use tid if thread's name is not set in get_thread_id

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>