scd:nks: Factor out pubkey retrieval from keygrip handling.
* scd/app-nks.c (pubkey_from_pk_file): New. (keygripstr_from_pk_file): Use pubkey_from_pk_file.
(cherry picked from commit b7c087375d84c31ab8a645cd81e6b1e6185cb30d)
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>