scd,nks: Fix caching keygrip.
* scd/app-nks.c (keygripstr_from_pk_file): Identify by cfid if available.
Backported-from-master: 920154370834ad8d947aed19c9d914a27dde6baa: