XRes: Use _XRead instead of _XRead32 for reading pid
_XRead32 requires the output variable to be a long, but
ReadClientValues
feeds it client->value which is a
32-bit allocation.
This commit changes the code to use _XRead instead, which properly handles 32-bit output variables.