Another fix for Jira issue #ROOT-6507: Segfault in libNetxNG.so when reading a file on EOS