Ex-Guantanamo inmate's lawyer slams then Australian PM