(trigger.go) improve back compatibility with Zabbix 1.8