device: commit l3cfg on link change only when the device is activating
On link change, the configuration should be reapplied only when the device is activating.
Fixes: 58287cbc ('core: rework IP configuration in NetworkManager using layer 3 configuration')