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