The ap->a_name is const char *, and will panic when attempting to
modify with normalized lookup result. Wrap in strdup calls.
Fixes panic in strlcpy/zap_lookup_norm.