[mlir][SPIR-V] Share the memory operands mask verifier between both masks (#225520)
Verify the `CopyMemory` Target and Source masks through one shared
function instead of a separate Source path
Originally discussed in https://github.com/llvm/llvm-project/pull/213621