[SPARK-22938][SQL][FOLLOWUP] Assert that SQLConf.get is accessed only on the driver