net/mlx5_core: Fix static checker warnings around system guid query flow