[PATCH 4.19 301/421] tracing: Simplify & fix saved_tgids logic