Costco's earnings may have disappointed in the near-term, but the company may be in a prime position to perform during a tariff showdown.