Fix assert syntax for macOS compiler builds.

```
/Users/runner/work/iree/iree/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp:221:12: error: implicit conversion turns string literal into bool: 'const char[44]' to 'bool' [-Werror,-Wstring-conversion]
    assert("Invalid dimension! Expected lane dimension.");
    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
diff --git a/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp b/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp
index 8335cd6..dfd4651 100644
--- a/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp
+++ b/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp
@@ -218,7 +218,7 @@
              getShape(LayoutDimension::LANEY).value_or(0);
     break;
   default:
-    assert("Invalid dimension! Expected lane dimension.");
+    assert(false && "Invalid dimension! Expected lane dimension");
     break;
   }
   return offset;