CNBC's Jim Cramer said Walmart's roughly 18% pullback since its mid-May peak has created a buying opportunity.