...G...... [ZBX-8213] fixed library loading code on Windows to prevent potential crash condition

git-svn-id: svn://svn.zabbix.com/trunk@45651 f4e7fd02-d210-4e34-a1e0-d4093fb66cc2