Detecting nonlocality of noisy multipartite states with the Clauser-Horne- Shimony-Holt inequality