[PATCH v6 2/3] d3d9/tests: replace LPDWORD cast with float_to_int function