A.F....... [ZBX-8397] Remove unused code when calculating next item check in case item is for active agent. Fix function name from "calculateItemNextcheck" to "calculateItemNextCheck". Fix variable names. Remove now unused parameter in calculateItemNextCheck() and call sites.