[XLIR] Correct buffer size calculation in FoldMemrefViewPattern.
[XLIR] Correct buffer size calculation in FoldMemrefViewPattern.

PiperOrigin-RevId: 435081214

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