fix build problem when --enable-debug was set

closes: https://github.com/rsyslog/liblognorm/issues/5