krb5: fixup crypto.c avoid realloc to trim memory allocation