Add header with handy GC debugging macro.

Have hacked this into code a couple of times while debugging GC issues
and figured it's best shared and easily available.