[PATCH] d3dx9/tests: Use a helper function to set matrix values in math tests