Disallow DynamicObject::Set() for config variables.

Fixes #3573