libteam: allow to build with olter libnl which does not support carrier set and get

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: do not use nl_object_get_msgtype() so older libnl can be used

Signed-off-by: Jiri Pirko <jiri@resnulli.us>