Costco Wholesale reported better-than-expected earnings for its fiscal fourth quarter as the retailer maintains consumer loyalty