A new study shows heart attack survivors are 5 percent more likely to develop cognitive issues -- including memory loss.