[SPARK-2409] Make SQLConf thread safe.