added 2 patches for thread safety fixes for root

this was requested here: https://github.com/cms-sw/cmssw/issues/2095 https://github.com/cms-sw/cmssw/issues/2096