Code cleanup in QuicStreamSequencer. One change is to clean up nested loop. Another is to change int return type to QuicByteCount to avoid casting. gfe-relnote: no behavior change. PiperOrigin-RevId: 289708679 Change-Id: I7faa53c54d429825bf83fe564ad6b5d9a9babe9b