Ex-Labor MP and Midnight Oil frontman Peter Garrett will lead a community inquiry into the $369bn AUKUS defence pact.