gpgconf: Take care of --homedir when reading/updating options.
* tools/gpgconf-comp.c (gpg_agent_runtime_change): Remove unused var. (scdaemon_runtime_change): Ditto. (dirmngr_runtime_change): Ditto. (gc_component_check_options): Pass --homedir if needed. (retrieve_options_from_program): Take care of --homedir.
This is related to bug 4882 but different due all the code changes.
- GnuPG-bug-id: T4882
- Signed-off-by: Werner Koch <wk@gnupg.org>