contrib/git-credential-gnome-keyring.c: use secure memory functions for passwds