perf_counter tools: Replace isprint() with issane()