shm: Fix arguments to PutImage on the XY conversion path

The w/h here should be the w/h of the destination rectangle, not of the
source shm image. The existing code happens to work because clipping
saves us later, but this turns out to have enough performance impact
that shmputxy is only barely faster than protocol putxy without the fix,
even for Xvfb:

      before     after
   --------- ------------------   -----------------------------
    128000.0  128000.0 ( 1.000)   PutImage XY 10x10 square
      2120.0    2110.0 ( 0.995)   PutImage XY 100x100 square
        88.2      88.1 ( 0.999)   PutImage XY 500x500 square
    142000.0 1270000.0 ( 8.944)   ShmPutImage XY 10x10 square
      2250.0   90600.0 (40.267)   ShmPutImage XY 100x100 square
        89.6     109.0 ( 1.217)   ShmPutImage XY 500x500 square
4 jobs for fix-shm-putimage-xy in 4 minutes and 37 seconds
latest
Status Job ID Name Coverage
  Docker Image
passed #2211726
debian-testing

00:00:17

 
  Build And Test
passed #2211727
autotools

00:04:20

passed #2211728
meson

00:01:32

passed #2211729
meson-noglamor

00:00:49