powerpc/macio: Don't dereference pointer before null check