[PATCH v2 01/10] d3dx9: Merge the d3dx_effect_GetInt() helper