Instead of removing globals from a module, we, it seems, can just override
AsmPrinter::emitGlobalVariable() to do nothing as NVPTXAsmPrinter already
emitted globals by this time and we don't want to do it twice.
This patch doesn't affect any existing regression tests,
so I'd want to consider it at least as NFCI.
Can we keep the original comment to explain the problem? Something like: