Merge pull request #8173 from gilles-peskine-arm/config-boolean-options-wrong-section-202309-2.28

Backport 2.28: Fix boolean options in the wrong section