[MemProfile] Add the distance to the last branch instruction