netlink: fix non-multipath build
(cherry picked from commit 6ab87ec483e9578823cbc30458f49ab07f51acf8)