d3dx9/tests: Do not release a cube texture if it wasn't created.