templates: fix testcase that got broken by a recent change in error message

The unit test validates the error messages returned by log_template_compile()
and a recent change wasn't completely followed up by a unit test. Fix that.

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