Use FuncOp methods to add arguments/results in AddChainAndStreamToFuncPattern.
Use FuncOp methods to add arguments/results in AddChainAndStreamToFuncPattern.

This fixes argument attributes not being moved.

PiperOrigin-RevId: 408382467

tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime