Make BufferedSeekableReadStream use the buffer with SEEK_SET and SEEK_END

This commit makes BufferedSeekableReadStream use its buffer also when using SEEK_SET and SEEK_END, and not only when using SEEK_CUR.