Build: Move MCUBoot configs from compile time defines to header

Changed the propagation of configurations from being passed by
CMake, to putting them into a dynamically generated header file.

Change-Id: I419121af3762929f18d3b408594d3f5f61528ddb
Signed-off-by: Balint Matyi <Balint.Matyi@arm.com>
diff --git a/bl2/ext/mcuboot/bootutil/src/loader.c b/bl2/ext/mcuboot/bootutil/src/loader.c
index 2197a47..2b6f655 100644
--- a/bl2/ext/mcuboot/bootutil/src/loader.c
+++ b/bl2/ext/mcuboot/bootutil/src/loader.c
@@ -45,6 +45,7 @@
 #include "bl2/include/tfm_boot_status.h"
 #include "bl2/include/boot_record.h"
 #include "security_cnt.h"
+#include "mcuboot_config/mcuboot_config.h"
 
 static struct boot_loader_state boot_data;