util.c (mkexc): Populate dictionary before constructing exception class.