netlink: fix debugging on 32-bit platforms
(cherry picked from commit c90bff3fa7c1c3ba3773759d243aad7b29b643a3)