Kerberos lib: implement Kerberos principal conversion modes support with older MIT kerberos 5 versions that don't have krb5_unparse_name_flags_ext().