s3-ctdb: Use correct db_id size in marshalling record buffer