Small improvements in GC trace loop.