[PATCH 4.14 18/33] net/mlx5: Use reversed order when unregister devices