LUCENE-1262: fix issue that causes BufferedIndexInput to return incorrect bytes after exception was hit during refill