Add __wt_log_ckpt to record a checkpoint LSN and signal archive thread.
Fix log truncate code.