Bug 855350 - GC: Add CustomAutoRooter and use it internally r=terrence