MIPS: GIC: Fix gic_set_affinity infinite loop