Fixes for new llvm. ptx borked.

Apparently part of nvptx isn't getting initialized properly now.