Wales coach Warren Gatland praised his side for showing plenty of courage after they fell short in their brave comeback bid against Australia.