Fix debugging code which is activated when --enable-debug is used (printing of traces by GC should indirect forwarded objects, and avoid zapping live stack area)