Fix a few bugs.

Runtime now has a patch to not emit the data field of map buckets,
so we don't need that hack anymore.
Record size for func types.
Detect slices in a more robust way.  Still not perfect.