lib/pb-protocol: Fix NULL dereference on non-powerpc