Data centers were one of the bright spots in a year that saw total construction spending decline 1.4% from the previous year.