Stdio.Buffer [search]: Support specifying the end position. It is now possible to inform the Stdio.Buffer lfun::_search() that it shouldn't scan past a certain position. Also removes an unused variable.