- check for and use pread if available, otherwise use our implementation.  This
  obviates the need to seek around all the time, and pread is fast and
  supported on most systems.
- fix --disable-mmap and make sure to re-run autoheader, otherwise pread
  won't ever get used