f2fs-tools: introduce get_checkpoint_version() for cleanup