[PATCH v2 9/9] d3dx9: Introduce helper function for retrieving the mip filter value in texture from file functions.