Make BufferedSeeekableReadStream use the buffer with SEEK_SET and SEEK_END

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