nilfs2: fix irregular checkpoint creation due to data flush