Leak may rile Pakistan as Guantanamo authorities regarded its spy agency as tied to terrorism 11 years ago