Optimize threadEscape to only consider locals escaping
Optimize threadEscape to only consider locals escaping

Somehow this wasn't ever done before.

goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer