Fixes segfault with dag_log_recover

When reorganizing makeflow's main, I inadvertently moved dag_log_recover
before the queues were created, which created a segfault if there was a
makeflow log available.