[PATCH 5/8] move write_size_log() from log.c to pktsize.c