Impact of Surfaces on Photoinduced Halide Segregation in Mixed-Halide Perovskites