nilfs2: add helper to get if volume is in a valid state