Walmart has had a strong quarter, but the looming tariffs under the Trump administration could hurt consumers.