Avoid useless conversion from IOStream::Position to whence.