net/mlx: fix build with clang 9