On the Role of Temperature Sampling in Test-Time Scaling