Fix pageant problems

The winpgnt.c file was not correctly synced to PuTTY-0.62 code thus not being able to correctly handle pageant requests.

The pull request updates winpgnt.c to the current PuTTY code base and fixes the issues I had.