Fix ROOT-5297 by fixing the implementation of TClass's MoveAddressInRepository.

MoveAddressInRepository needed to not only update the object location
but also the location of any base classes or sub-objects.

In addition to the version number, record the TClass address.