nilfs2: fix buggy behavior seen in enumerating checkpoints