2d O(N) S-matrix bootstrap