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