test_template: include syslog-ng.h first

This silences deprecated glib symbols warnings.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>