Thread Safety Analysis: fix handling of string and char literals.