Fixes to handle more than one compute_root Func per compile for PTX.

Ensure that all initial module functions for PTX have
AvailableExternaly linkage.

Cosemetic fixes to cuda.cpp.