[gpg] fix pinentry program