powerpc/xive: Move a dereference below a NULL test