netfilter: ipt_LOG/ip6t_LOG: remove comparison within loop