common/mlx5: fix netlink buffer allocation from stack