[NVPTX] Remove dead code.

Found by the Clang static analyzer.