rewrite concat_atom/2,3 to be linear in size of input string and to be
well-behaved for memory management.
Authored by: tswift 1999-07-08
Parent: [r983]
Child: [r985]