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