Import revision 48589 from the v5-34-00 patch branch:
Correct the implementation of creating a branch using an object rather than a pointer to an object


git-svn-id: https://root.cern.ch/svn/root/trunk@48591 27541ba8-7e3a-0410-8455-c3a389f83636
Import revision 48590 from the v5-34-00 patch branch:
Correct the call to the TBranchObject constructor since we added isptrptr (but forgot that there was a compress arguement before that)


git-svn-id: https://root.cern.ch/svn/root/trunk@48592 27541ba8-7e3a-0410-8455-c3a389f83636