[PATCH 3/4] d3d8: Correctly check for sysmem index buffers in d3d8_device_ApplyStateBlock().