[PATCH] NmConfigDevice: add detection of NM version