Fix population of exceptions dicts in cudart and cudadrv.