r300g: Conversion to to winsys handle