Add object address when casting
Fix ROOT-6943: no errors whith virtual inheritance from TObject