[mlir][tosa] Allow dynamic dims in `--tosa-validate` pass (#171463)
This commit allows tensor dimensions to be dynamic when the specified
target TOSA specification version is `1.1.draft` or higher. This is
because this version of the specification supports representation
operations that are dynamic until backend compile time.