core: misc style fixes to libnl compat code