build_helper_configs.py: Fix config_debug_regr definition

Should patch "seed_params" subkey.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I48f9d96b3a03d9ad677d36636491255e08f77463
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index 96495b6..27686d3 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -19,6 +19,9 @@
 __project__ = "Trusted Firmware-M Open CI"
 __version__ = "1.4.0"
 
+from copy import deepcopy
+
+
 # common parameters for tf-m build system
 # This configuration template will be passed into the tfm-builder module after
 # the template evaluation is converted to a command
@@ -1319,8 +1322,8 @@
                 }
 
 
-config_debug_regr = config_debug.copy()
-config_debug_regr["test_regression"] = [True]
+config_debug_regr = deepcopy(config_debug)
+config_debug_regr["seed_params"]["test_regression"] = [True]
 
 
 config_debug_PSA_API = {"seed_params": {