Only set static shape in PadSequenceDim when it's an integer instead of a tensor.
Only set static shape in PadSequenceDim when it's an integer instead of a tensor.

PiperOrigin-RevId: 239336025

tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo