Merge "Fix Class::IsInSamePackage to not read beyond the end of a StringPiece."