coredump: add %i/%I in core_pattern to report the tid of the crashed thread