winsys: fix depth buffer size when using stencil