..F....... [ZBX-8928] fixed history-related macros to obey the ZBX_HISTORY_PERIOD

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