[mlir][tosa] Shape operation level checks limited to MAX_SHAPE_LEN (#175020)
As a result of a recent specification change:
https://github.com/arm/tosa-specification/pull/29, the level checks for
TOSA shape operations are limited to MAX_SHAPE_LEN as opposed to
MAX_RANK. The reason for doing so is detailed in the specification
commit message.
This change also removes prior code which incorrectly checked all
`shapeTypes`, rather than checking the `shapeType` levels of just shape
operations, further aligning with the specification.