"You should get plenty of good buying opportunities over the next three years," CNBC's Jim Cramer said Wednesday.