atom: Slight efficiency optimization in string interning

r? @glennw