r300g: fix a possible race when counting contexts

Atomics aren't sufficient here.
3 files changed