[System] Fix problem with serializing configuration values

This fixes another problem with serializing the configuration
values. When setting the deserialized/serialized value we also
have to change the defaulted flag.

(This is part of upstream PR #964)

Change-Id: Icb3801881766b32216adb6dcbc03e4b3e5864934