wined3d: Use register_idx in the ARB shader backend.