Automatically switch DQMStore to threaded mode

Have the DQMStore automatically switch to threaded mode when the
configuration for the job has more than one stream.