racket/port: fix problem with `reencode-input-port`

For the case that a larger buffer is needed than provided for
a read, decoding should make progress as long as some bytes are
converted.

Closes PR 14607