[PATCH v3 3/4] ddraw: Validate handles in d3d_device2_SwapTextureHandles().