nvidia-detect: make functions static

Signed-off-by: Philip J Perry <phil@elrepo.org>