gpg: Fix getting User ID.
* g10/getkey.c (user_id_db): Remove, as no use anymore. (get_user_id_string): Use cache_get_uid_bykid. (get_user_id_byfpr): Use cache_get_uid_byfpr. * g10/objcache.c (cache_get_uid_byfpr): New. * g10/objcache.h (cache_get_uid_byfpr): New.
- Fixes-commit: 64a5fd37271a3e454c0d59ac3500e1a1b232e4f7
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>