When and How Does In-Distribution Label Help Out-of-Distribution Detection?