[NFC][MLIR][TableGen] Drop namespace around static Op constraint functions (#162120)
Op constraints are emitted as static standalone functions and need not
be surrounded by the Dialect's C++ namespace. Currently they are, and
this change stops emitting a namespace around these static functions.