Coverity fixes

Fixes for coverity issues in TTreeReaderArray