The Serbian was forced to retire from his Australian Open semi, missing another chance to add to his 24 majors