netlink: fix format strings on 32-bit platforms
(cherry picked from commit 8d9f3e05728ecef4e21672dd8a54066b17b62a50)