[XrdCl] Fix coverity issues