netifd: Check interface state only when main device is set during interface_change_config
Fixes a regression issue introduced by commit
d2a33f3f0fe704e4396fa2ada08401cb955ba7cb for device less protocol handlers.
An active interface using a deviceless protocol handler will be be teared down when the interface config is checked upon
an update as the interface link and enabled parameters are unset as no underlying device is present (eg tunnel interfaces)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>