Xscreen.c : fix 64bit ptr issue, fixes a crash when ptr_gen loaded

Signed-off-by: Graeme Gregory <graeme@xora.org.uk>