Replacement pread64 implementation.