nfc: use proper hex encoding for pin length

Fixes #886
Merge branch 'master' of github.com:open-keychain/open-keychain