Energy-efficiency Limits on Training AI Systems using Learning-in-Memory