platform: fix build with kernels < 5.7

Fixes: 919a61bc ('platform/netlink: extend nl_nlmsghdr_to_str() for genl messages')
61 jobs for lr/platform-v5.7 in 30 minutes and 33 seconds (queued for 5 seconds)
latest