Fix swift-generator handling of list/set/map constant declarations

Fixes bugs in generation of constant values for lists, sets, and maps.

Unfortunately, some things are still NYI, such as handling constant values for structs and enums (or containers where this is a key, value, or element type of the container). I'll have to get to those later.