MULE-7027: ExpiringGroupMonitoringThread must process event groups only when the node is primary
(cherry picked from commit 1a9967d)