..F....... [ZBX-8720] Fix resolving macros in graph name when there is only 1 graph without valid macros.
..F....... [ZBX-8720] Improve code in CMacrosResolver::resolveGraphsFunctionalItemMacros() to fetch item history only for items that are accessible (user has permission) to be accessed, rename variables and add comments,