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