Fix typo in get_cred.c (krb5_free_host_realm is singular
Make use of krb5_principal_match2()
Make krb5_compare_creds() use krb5_principal_match2()