r300g: fix runtime warning after winsys cleanup