screencopy: fix segfault when client supplies invalid buffer
screencopy: fix segfault when client supplies invalid buffer

SirCmpwn/wlroots,ascent12/wlroots,ascent12/wlroots,swaywm/wlroots,swaywm/wlroots