Set stacklevel for the override_settings warning.

Refs #19031.