libfoundation: __MCTypeInfoResolve(): Sanity check for unbound named types.

Add a sanity check assertion to catch any attempt to resolve named
type infos that haven't been bound to a concrete type info
(i.e. programmer error).
Merge pull request #1567 from peter-b/develop

libfoundation: __MCTypeInfoResolve(): Sanity check for unbound named types