[Bug 26133] d3dx9_36: surface and texture tests shows an invalid read under valgrind