[Bug 36097] valgrind shows leaks in d3d9/stateblock tests on i965