gpg: Fix printing of the user id during import.
* g10/getkey.c (struct keyid_list): Add field fprlen. (cache_user_id): Set and test it. (get_user_id_byfpr): Make static, add arg fprlen and use it. (get_user_id_byfpr_native): Add arg fprlen and change all callers.
This was a regression in the 2.3 base.
- GnuPG-bug-id: T3801
- Signed-off-by: Werner Koch <wk@gnupg.org>