Warrnambool AFL legend turned to drugs and alcohol after depression diagnosis, Royal Commission hears