d3d9trace: Fix D3DPT_TRIANGLEFAN vertex count computation.