Check the TMPDIR variable to optionally use some other dir
r300g: Add dummy scoring

r300g won't use the work, but it uses the same winsys, so add dummy
arguments for it to build.