erlxc_write: fix size of header length