fix s/%d/%p/ in GCDEBUG and print reprid in two others