Integration of the beam scraper and primary collimator in the SNS ring