loci: dump/show correct subclass for embedded objects

The code was previously calling the dump/show function for the header class,
which wouldn't have output any of the fields added by the child classes.
diff --git a/c_gen/c_show_gen.py b/c_gen/c_show_gen.py
index a6ce048..7da3882 100644
--- a/c_gen/c_show_gen.py
+++ b/c_gen/c_show_gen.py
@@ -255,7 +255,7 @@
                     sub_cls = m_type[:-2] # Trim _t
                     out.write("""
     %(cls)s_%(m_name)s_bind(obj, &%(v_name)s);
-    out += %(sub_cls)s_%(ver_name)s_show(writer, cookie, &%(v_name)s);
+    out += of_object_show(writer, cookie, &%(v_name)s);
 """ % dict(cls=cls, sub_cls=sub_cls, m_name=m_name,
            v_name=var_name_map(m_type), ver_name=ver_name))