...G...... [ZBX-8391] added freeing of memory if zabbix_agentd is exiting  due to invalid options