d3dcompiler/tests: Free the Direct3D9 object (Valgrind).