Update state.load_dynamic to handle changes to saltutil.sync_all.

For the related breaking change see https://github.com/saltstack/salt/commit/0cf1f529