Matteo Bruni : d3dx9/tests: Release the device when skipping some tests.