[PATCH 6.18 467/614] vdpa/mlx5: Fix incorrect error code reporting in query_virtqueues