Australia have been bowled out for 371 in the third Ashes Test in Adelaide, with Mitchell Starc's 54 helping add some crucial runs on the second morning.