nilfs2: clean up get/put function of a segment usage