netlink: Fix build without VIMAGE
(cherry picked from commit fc083c3eb2bf9c2ea92914fab9e8fd090d1db710)