d3dx9: Correctly check if a cube texture is dynamic in D3DXCreateCubeTextureFromFileI...