When igmp_v3_merge_state_changes() is iterating over state-change
packets, there is a case where it'll drop packets from the queue but
fail to remove them. Fix that.
Reported by: Yuxiang Yang, Yizhou Zhao, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM5.1 from Z.ai