[GHC] #7747: debug_p RTS is buggy (debugging and profiled)