Add OpenSSH's closefrom() replacement implementation.
Enable use of closefrom() and eaccess() shims.
Add faccessat() and freadlinkat() compatibility shims.
Add FreeBSD's endian utils.