[MLIR] Fix lowering of Affine IfOp in the presence of yield values.
This commit fixes the lowering of Affine.IfOp to SCF.IfOp in the
presence of yield values. These changes have been made as a part of
-lower-affine pass.
Differential Revision: https://reviews.llvm.org/D98760