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