Fixes and tests for krb5int_c_combine_keys

Here's the fix from Ken Hornstein (from http://krbdev.mit.edu/rt/Ticket/Display.html?id=7914 ) and a test program to detect breakage in the future.