Anthony Joshua says he will undergo elbow surgery in May before targeting a return to the boxing ring.