port relocalized GIL release from v5-34-00-patches


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