HDFS-7198. Fix "unchecked conversion" warning in DFSClient#getPathTraceScope (cmccabe)
(cherry picked from commit 1ceb3269337e321e352b7cd9f946c5c52dcfddfa)