Modified Poisson solver for the simulation of the silicon-oxide interface in semiconductor detectors