Boundary trace of the solutions of the prescribed Gaussian curvature equation