linux(4): Implement faccessat2 system call.
It's used by bash on arm64 with glibc-2.32.
Reviewed by: trasz
Differential Revision: https://reviews.freebsd.org/D31345
MFC after: 2 weeks
(cherry picked from commit 13d79be9950dd820628906dcad4f4f1365b307b9)