Companies stockpiling ahead of tariff threats want to avoid raising prices. But they face added costs, risks