wined3d: Fix resultarg state handling in nvrc/nvts code.