nvidia-detect: use an enum for the driver return codes

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