d3dx9/tests: Check a relative error instead of an absolute error.