api: fix histo thread param
nvapi: match gpu index with pci/x bus id