net/mlx5: fix memory region cleanup