hwaf-base: allow to override a declare_macro
hwaf-base: debug printouts in hwaf_subst_vars