Pass the master opts up to Salt API initialization.

If this is not done, the master configuration is loaded from the default system path ignoring any `--config-dir` directory passed to the `salt_master` when starting.

Fixes saltstack/salt#8917