powerpc/xics: Factor out cpu joining/unjoining the GIQ