[XLA:GPU][MLIR-based emitters] Use rewriter to erase YieldOp after merging blocks.
[XLA:GPU][MLIR-based emitters] Use rewriter to erase YieldOp after merging blocks.

yieldOp was erased using `yield_op->erase` instead of `rewriter.eraseOp(yield_op)`.
