[PATCH] d3d8/tests: Remove useless casts to self