gpg: Fix buffering problem in --list-config.