The longtime “Tonight Show” host’s remarks came as fellow late-night comics Jimmy Kimmel and Stephen Colbert joined forces in a show of solidarity.