surface: check buffer size is compatible with scale
surface: check buffer size is compatible with scale

This relies on [1].

[1]: https://gitlab.freedesktop.org/wayland/wayland/-/commit/8d5fadad47aad420b0d83fffc8ad573766a9c75e

swaywm/wlroots,swaywm/wlroots,SirCmpwn/wlroots