Fix WAL-parsing for recent upstream changes in WAL record formats.