[CSSimplify] Determine whether type is know Foundation entity in a safer way
Instead of trying to get string representation of the type itself,
let's just get it based on the type name, which works well with the
list of types we have.
Resolves: rdar://113675093