Framework implementations of pread64 and setsockopt

Enough to get some nss_nis code that runs on UMN machines to not
crash.