[PATCH -stable v5.{7, 8, 9}] net/mlx5: E-Switch, fix changing mode to switchdev