Fixes pg_xlogdump to work with Postgres-XC xlog, to handle BARRIER
log record correctly.

Submitted by Wang Diancheng.