Berri warns pact threatens Syria