surface-actor-x11: Fix "incompatible pointer type" error

Caused by e73c46ce033eb3b63c77a90eb2dabd9a2e7e3444