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')
56 jobs for bg/rh2079054 in 47 minutes and 38 seconds (queued for 8 seconds)