[acm,ssa].c: Use underscore char rather than space in thread names.

 The thread name could be used in core dump naming pattern.