qed: Fix next-ptr chains for BE / 32-bit