Pakistan must do more to counter terrorism: Gillard