Fix a leak on the r600 backend.

This should bring the valgrind bot back to life.