dsa_gen.c: Remove unused cruft.
Replace strncpy with strlcpy.