scd: Fix an oddity in changing the PIN.
* scd/app-openpgp.c (do_change_pin): Verify the PIN before sending the Change_Reference_Data APDU.
Without this it was possible to enter a longer old PIN and the new PIN
had the surplus PIN digits as its prefix.
- GnuPG-bug-id: T7840