Contractors rushed to buy materials before potential tariffs could go into effect, pushing prices higher. More hikes could lie ahead, according to construction trade associations.