winex11: Move XRENDERINFO allocation in a separate function.