HADOOP-11056. OsSecureRandom.setConf() might leak file descriptors.  Contributed by Yongjun Zhang.

(cherry picked from commit 8f1a668575d35bee11f4cd8173335be5352ec620)