d3dx9_36: Fixed typo in HeapAlloc return checking (Coverity).