Simplify the global constant pool.

The global constant pool is now a simple encapsulation of one
type-specific constant pool for each type of interest.  The
type-specific constant pool is templatized for that type.  Key
comparisons are done via memcmp() in case the key may contain a
floating-point NaN value.