Builders FirstSource posted a double-digit decline on the week as the U.S.-Iran war and higher oil prices rattled the broader market.