[PATCH v3 5/6] d3dx9: Factor out mesh_get_parse_func().