lib/krb5: make/copy principal init output to NULL