[PATCH 4.14 250/323] powerpc/smp: Set numa node before updating mask