[PATCH 6.7 019/641] powerpc/imc-pmu: Add a null pointer check in update_events_in_group()