apps/d3d7: Fix the skipping logic.

The failure happens with IDirect3D7, not IDirectDraw7.