Use mangled name rather than __new_generic_fn

The name provided to def is what is used in the stack trace. This change
gives useful stack traces rather than showing every call to a
user-defined Kl function as __new_generic_fn.