HDFS-7198. Fix "unchecked conversion" warning in DFSClient#getPathTraceScope (cmccabe)