dos.library: Introduce an intermediate small buffer in InternalLoadSeg_ELF
Due to a fact that Seek flushes buffers, FRead that is used to do small
reads cannot use the buffer and re-reads directly from filesystem requiring
context switch which has a visible impact when done in large numbers.
The problem is visible with C++ executables that have a big number
of small sections and thus do many (in tens of thousands for
Odyssey) very small reads.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49009 fb15a70f-31f2-0310-bbcc-cdcc74a49acc