templates: macros depend on templates ( via `log_macro_expand()` )

fixes #317

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>