net/mlx5: replace destructor syntax with common macro