Costco's treasure-hunt reputation is well earned, but some of its smartest buys are not the ones stacked in towering endcaps.