Zeros of solutions of functional equations in the space of discontinuous functions of two variables